list=nil
for line in io.lines() do
	list={next=list,value=line}
end

local l = list
while l do
	print('\n' .. l.value)
	l= l.next
end
